Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation and scripts for 8 kHz model #632

Merged
merged 15 commits into from
May 20, 2020
Merged

Add documentation and scripts for 8 kHz model #632

merged 15 commits into from
May 20, 2020

Conversation

jbalam-nv
Copy link
Collaborator

@jbalam-nv jbalam-nv commented May 13, 2020

#Added

  • Documentation for 8 kHz model in ASR docs
  • Config file for a 8 khZ and a script for converting audio to 8 kHz pcm u-law format

#Removed

  • Some empty References sections in docs


..
The pre-trained model is available for download `here <https://ngc.nvidia.com/models/nvidian:nemo:quartznet_15x5_8_khz_for_nemo>`_.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented this as we are going to wait for QA to approve the model for release.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any update on this? Would like to test the model.

in_path: source wav file to convert
out_path: destination for G.711 wav file
"""
cmd = ["sox", in_path, "-r", "8000", "-c", "1", "-e", "u-law",out_path]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script is based on existing script fisher_audio_to_wav.py. This line is the biggest difference other than comments.

jbalam-nv and others added 12 commits May 13, 2020 16:37
…ert wav files to g.711 format

Signed-off-by: jbalam-nv <4916480+jbalam-nv@users.noreply.github.com>
…s section for pages with no references

Signed-off-by: jbalam-nv <4916480+jbalam-nv@users.noreply.github.com>
Signed-off-by: jbalam-nv <4916480+jbalam-nv@users.noreply.github.com>
Signed-off-by: Oleksii Kuchaiev <okuchaiev@nvidia.com>
Signed-off-by: jbalam-nv <4916480+jbalam-nv@users.noreply.github.com>
* Description of testing updated

Signed-off-by: Tomasz Kornuta <tkornuta@nvidia.com>

* added enters

Signed-off-by: Tomasz Kornuta <tkornuta@nvidia.com>

* polish

Signed-off-by: Tomasz Kornuta <tkornuta@nvidia.com>

* further polish

Signed-off-by: Tomasz Kornuta <tkornuta@nvidia.com>

* typo

Signed-off-by: Tomasz Kornuta <tkornuta@nvidia.com>
Signed-off-by: jbalam-nv <4916480+jbalam-nv@users.noreply.github.com>
Signed-off-by: Nithin Rao <nithinrao.koluguri@gmail.com>
Signed-off-by: jbalam-nv <4916480+jbalam-nv@users.noreply.github.com>
Signed-off-by: Nithin Rao <nithinrao.koluguri@gmail.com>
Signed-off-by: jbalam-nv <4916480+jbalam-nv@users.noreply.github.com>
Signed-off-by: Nithin Rao <nithinrao.koluguri@gmail.com>
Signed-off-by: jbalam-nv <4916480+jbalam-nv@users.noreply.github.com>
Signed-off-by: Nithin Rao <nithinrao.koluguri@gmail.com>
Signed-off-by: jbalam-nv <4916480+jbalam-nv@users.noreply.github.com>
* warning -> debug

Signed-off-by: Tomasz Kornuta <tkornuta@nvidia.com>

* work in progress on save_to/restore_from

Signed-off-by: Tomasz Kornuta <tkornuta@nvidia.com>

* Refactored torch backend injection, added elementary four torch functions related to model saving/loading, plus unit tests

Signed-off-by: Tomasz Kornuta <tkornuta@nvidia.com>

* Graph save_to and restore_from actions

Signed-off-by: Tomasz Kornuta <tkornuta@nvidia.com>

* style fix

Signed-off-by: Tomasz Kornuta <tkornuta@nvidia.com>

* adding NG to nemo.rst, fixing documentation issues

Signed-off-by: Tomasz Kornuta <tkornuta@nvidia.com>

* Documentation polish

Signed-off-by: nvidia <tkornuta@nvidia.com>

* removed indent

Signed-off-by: nvidia <tkornuta@nvidia.com>
Signed-off-by: jbalam-nv <4916480+jbalam-nv@users.noreply.github.com>
Signed-off-by: jbalam-nv <4916480+jbalam-nv@users.noreply.github.com>
Signed-off-by: jbalam-nv <4916480+jbalam-nv@users.noreply.github.com>
scripts/convert_wav_to_g711wav.py Outdated Show resolved Hide resolved
docs/sources/source/asr/8kHz_models.rst Show resolved Hide resolved
Signed-off-by: jbalam-nv <4916480+jbalam-nv@users.noreply.github.com>
@okuchaiev okuchaiev merged commit fd1efa9 into master May 20, 2020
@okuchaiev okuchaiev deleted the 8kHz-docs branch October 6, 2020 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants